
package cn.edu.scau.cmi.chenzehan.hibernateframe.POJO;

public class Student {

	@Override
	public String toString() {
		return "Student [studentID=" + studentID + ", name=" + name + ", tutor=" + tutor + "]";
	}
	private int studentID;
	private String name;
	private Tutor tutor;
	

	public Tutor getTutor() {
		return tutor;
	}
	public void setTutor(Tutor tutor) {
		this.tutor = tutor;
	}
	public int getStudentID() {
		return studentID;
	}
	public void setStudentID(int studentID) {
		this.studentID = studentID;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public Student(int studentID, String name) {
		this.studentID = studentID;
		this.name = name;
	}
	public Student(int id, String name,Tutor tutor) {
		this.studentID = id;
		this.name = name;
		this.tutor = tutor;
	}
	public Student() {
		
	}
}
